$OpenBSD: patch-src_plugins_graphicssystems_trace_qgraphicssystem_trace_cpp,v 1.2 2010/10/28 14:55:47 espie Exp $
--- src/plugins/graphicssystems/trace/qgraphicssystem_trace.cpp.orig	Fri Sep 10 11:05:26 2010
+++ src/plugins/graphicssystems/trace/qgraphicssystem_trace.cpp	Sun Oct 24 12:32:07 2010
@@ -79,7 +79,9 @@ QTraceWindowSurface::QTraceWindowSurface(QWidget *widg
 QTraceWindowSurface::~QTraceWindowSurface()
 {
     if (buffer) {
-        QFile outputFile(QString(QLatin1String("qtgraphics-%0.trace")).arg(winId));
+    	QLatin1String a_latin1("qtgraphics-%0.trace");
+	QString a_string(a_latin1);
+        QFile outputFile(a_string.arg(winId));
         if (outputFile.open(QIODevice::WriteOnly)) {
             QDataStream out(&outputFile);
             out.setFloatingPointPrecision(QDataStream::SinglePrecision);
